// 发票信息填写
export const InvoiceWriteThead = [
  {
    title: '费用月份',
    key: 'month',
    width: 100,
    render: (h, params) => {
      const month = params.row.month < 10 ? '0' + params.row.month : '' + params.row.month
      const text = params.row.year + '' + month
      return h('span', text)
    },
    fixed: 'left'
  },
  {
    title: '客户名称',
    key: 'companyName',
    width: 150,
    fixed: 'left'
  },
  {
    title: '客户编码',
    key: 'companyCode',
    width: 150
  },
  {
    title: '发票类型',
    key: 'invoiceType',
    width: 150
  },
  {
    title: '客户法定名',
    key: 'companyLegalName',
    width: 150
  },
  {
    title: '税号',
    key: 'taxNumber',
    width: 200
  },
  {
    title: '注册地址',
    key: 'address',
    width: 150
  },
  {
    title: '电话',
    key: 'tel',
    width: 150
  },
  {
    title: '开户行名称',
    key: 'bankName',
    width: 150
  },
  {
    title: '开户行账号',
    key: 'bankAccount',
    width: 150
  },
  {
    title: '开票方式',
    key: 'billingMethod',
    width: 150
  },
  {
    title: '开票明细',
    key: 'invoiceDetail',
    width: 150
  },
  {
    title: '特殊要求',
    key: 'remark',
    width: 150
  },
  {
    title: '代缴社保费',
    key: 'toSocialInsurance',
    width: 150
  },
  {
    title: '代缴公积金',
    key: 'toProvidentFund',
    width: 150
  },
  {
    title: '代缴商业险',
    key: 'toCommercial',
    width: 150
  },
  {
    title: '代发工资',
    key: 'toSalary',
    width: 150
  },
  {
    title: '服务费',
    key: 'serverFee',
    width: 150
  },
  {
    title: '代缴个税',
    key: 'toTax',
    width: 150
  },
  {
    title: '代发手续费',
    key: 'toFee',
    width: 150
  },
  {
    title: '合计',
    key: 'total',
    width: 150
  },
  {
    title: '所属客服',
    key: 'serverName',
    width: 150
  },
  {
    title: '发票状态',
    key: 'status',
    width: 150
  },
  {
    title: '操作',
    key: 'action',
    slot: 'action',
    fixed: 'right',
    width: 160
  }
]
